home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ Notepad Options 1.xpl
< prev
next >
Wrap
Text File
|
1999-08-31
|
905b
|
41 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Program Options\Notepad"
"NAME"="Notepad Options"
"VERSION"="1.33"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable default word-wrap"
"DESCRIPTION 1"="Some options for Notepad."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
Sub Plugin_Initialize
i=RegReadValue("HKCU\Software\Microsoft\Notepad\fWrap")
if i=1 then SetUIElement 1,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","1",2)
else
Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","0",2)
end if
End Sub
Sub Plugin_Terminate
End Sub